package com.pm.service.file.impl;

import com.pm.entity.po.file.DailyFileLib;
import com.pm.mapper.file.DailyFileLibMapper;
import com.pm.mapper.file.DailyFileTypeMapper;
import com.pm.service.file.DailyFileLibService;
import com.pm.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DailyFileLibServiceImpl extends BaseServiceImpl<DailyFileLib> implements DailyFileLibService {
@Autowired
DailyFileLibMapper dailyFileLibMapper;

    @Resource
    private void setBaseMapper(DailyFileLibMapper dailyFileLibMapper) {
        super.setBaseMapper(dailyFileLibMapper);
    }

    @Override
    public Boolean deleteDailyFileLib(Integer id) {
         return dailyFileLibMapper.deleteFileLib(id);
    }
}
